﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NoAccess.aspx.cs" Inherits="statics_NoAccess" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>出错啦~</title>
	<link type="text/css" rel="Stylesheet" href="../styles/FFStyleSheet.css" />

	<script language='javascript' type='text/javascript'>

		var seconds = 5;
		var URL;

		function Load(url) {
			URL = url;
			for (var i = seconds; i >= 0; i--) {
				window.setTimeout('doUpdate(' + i + ')', (seconds - i) * 1000);
			}
		}

		function doUpdate(num) {
			document.getElementById('ShowDiv').innerHTML = '将在' + num + '秒后自动跳转到首页';
			if (num == 0) { window.location = URL; }
		}


		Load("/Default.aspx");
	</script>

</head>
<body>
	<form id="form1" runat="server">
	<div class="ErrorPage">
		<img src="../images/error.gif" alt="Error!" />
		<span>你请求的页面不存在或暂时无权限访问</span> <span id="ShowDiv"></span><a href="/Default.aspx">立即返回首页</a>
	</div>
	</form>
</body>
</html>
